﻿using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OpenAdmin.Core.DbContextLocators;

namespace OpenAdmin.Core.Models
{
    /// <summary>
    /// 订单表
    /// </summary>
    [Table("Orders")]
    public class Order : EntityBase<MallDbContextLocator>, IEntityTypeConfigure<Order>, IEntityTypeSeedDataConfigure<Order>
    {

        public void Configure(EntityTypeBuilder<Order> entityBuilder)
        {

        }

        public IEnumerable<Order> HasData(DbContext dbContext)
        {
            return new List<Order>() { };
        }
    }
}
